<template>
  <a-breadcrumb class="breadcrumb">
    <a-breadcrumb-item><a @click="$router.push('/home')">主页</a></a-breadcrumb-item>
    <a-breadcrumb-item>业务逻辑</a-breadcrumb-item>
    <a-breadcrumb-item :key="index" v-for="(item, index) in breadtitle">{{
      item
    }}</a-breadcrumb-item>
  </a-breadcrumb>
</template>

<script>
export default {
  props: ["breadtitle"],
};
</script>

<style lang="less" scoped>
.breadcrumb {
  padding: 0px 0px 15px 0px;
}
</style>